package design.simdi.code.final_paper.core.daos;

import it.openutils.dao.hibernate.HibernateDAO;
import it.openutils.dao.hibernate.HibernateDAOImpl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import design.simdi.code.final_paper.core.entities.StudentAdmis;

/**
 * 
 * @author Marius Dumitriu - (Jun 24, 2010 - 3:39:28 PM)
 * 
 */
public interface StudentAdmisDao extends HibernateDAO<StudentAdmis, Long> {
	@Repository(value = "studentAdmisDao")
	public static class StudentInscrisDaoImpl extends HibernateDAOImpl<StudentAdmis, Long> implements
			StudentAdmisDao {

		@Autowired
		public StudentInscrisDaoImpl(SessionFactory factory) {
			setSessionFactory(factory);
			setReferenceClass(StudentAdmis.class);
		}

	}
}
